<%--
  Created by IntelliJ IDEA.
  User: yzh
  Date: 2024/12/17
  Time: 14:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改图书信息</title>
</head>
<body>
<form action="/booksystem/UpdateServlet" method="post">
    <table align="center" border="1px">
        <th colspan="2">更新图书信息</th>
        <tr>
            <td>图书名称：</td>
            <td><input type="text" name="bookname"></td>
        </tr>
        <tr>
            <td>价格：</td>
            <td><input type="text" name="price"></td>
        </tr>
        <tr>
            <td>出版社：</td>
            <td><input type="text" name="address"></td>
        </tr>
        <tr>
            <td>isbn:
            </td>
            <td>
                <input type="text" name="isbn">
            </td>
        </tr>
        <tr align="center">
            <td colspan="2"><input type="submit" value="修改">
                <input type="reset" value="重置">
            </td>
        </tr>
    </table>
    <script>
        var errori = '${param.error3}';
        if (errori == 'yes') {
            alert("修改失败");
        }
    </script>
</form>

</body>
</html>
